<template>
  <div class="home">
      <Classlist :list="list" />
  </div>
</template>

<script>
import { mapActions, mapState } from "vuex";
import Classlist from "./classlist.vue";
export default {
  name: "home",
  components: {
    Classlist,
  },
  computed: {
    ...mapState(['list'])
  },
  data() {
    return {};
  },

  mounted() {
    this.GET_LIST();
    
  },

  methods: {
    ...mapActions(["GET_LIST"]),
  },
};
</script>

<style lang="scss" scoped>
.home {
  width: 100%;
}
</style>